package com.ruoyi.cat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 登录信息对象 cat_log_table
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class CatLogTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 微信小程序id */
    @Excel(name = "微信小程序id")
    private String openId;

    /** 0正常 1冻结 */
    @Excel(name = "0正常 1冻结")
    private String state;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setIpCode(String ipCode) 
    {
        this.ipCode = ipCode;
    }

    public String getIpCode() 
    {
        return ipCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openId", getOpenId())
            .append("state", getState())
            .append("ipCode", getIpCode())
            .toString();
    }
}
